# xlsx文件位置
WORK_BOOK_PATH = "../../../tools/config/ipcp/apcp_excel/" \
                 "APCP_IPCP_signals.xlsx"

SIGNAL = 0x10000000
CBPA = 0x20000000
SOMEIP = 0x30000000
SIGNAL_CP = 0x40000000
SIGNAL_TM = 0x50000000
# ====================================
WRITE = 0x01000000
READ = 0x02000000
# ====================================
STRING = 0x00100000
BOOLEAN = 0x00200000
INT32 = 0x00400000
INT32_VEC = 0x00410000
INT64 = 0x00500000
INT64_VEC = 0x00510000
FLOAT = 0x00600000
FLOAT_VEC = 0x00610000
BYTES = 0x00700000

EXTRA_KEY_PULL = "pull"
EXTRA_KEY_SDB = "sdb"

SHEET_NAME_NORMAL = "Normal"
SHEET_NAME_TimeSync = "TimeSync"
SHEET_NAME_AVAS = "AVAS"
SHEET_NAME_HOSTINFO = "HostInfo"
SHEET_NAME_POWER = "Power"

# 数据开始行
SHEET_ROW_START = 1
# 表格序号
SHEET_INDEX_NORMAL = 1
SHEET_INDEX_TIMESYNC = 2
SHEET_INDEX_AVAS = 3
SHEET_INDEX_HOSTINFO = 4
SHEET_INDEX_POWER = 5
SHEET_INDEX_STRUCT = 7
SHEET_INDEX_TEXTTABLE = 8
SHEET_INDEX_EXTRA = 9

# 表格内容列序号
COL_INDEX_NAME = 0
COL_INDEX_MODULE = 1
COL_INDEX_DIRECTION = 2
COL_INDEX_SERVICE_TYPE = 3
COL_INDEX_OP_TYPE = 4
COL_INDEX_OP_CODE = 5
COL_INDEX_PAYLOAD_TYPE = 6
COL_INDEX_PAYLOAD_STR = 7
COL_INDEX_DSC = 8
COL_INDEX_PACKAGE = 9
COL_INDEX_SWRS_SIGNAL = 10
# ApCp_Signal_Id.h文件路径
APCP_SIGNAL_ID_PATH = "../../../transfer/libapcp/include/ap/" \
                      "APCP_signal_id.h"
APCP_NORMAL_HEADER_PATH = "../../../transfer/libapcp/include/cp/" \
                          "Normal.h"
APCP_TIMESYNC_HEADER_PATH = "../../../transfer/libapcp/include/cp/" \
                            "TimeSync.h"
APCP_AVAS_HEADER_PATH = "../../../transfer/libapcp/include/cp/" \
                        "AVAS.h"
APCP_HOSTINFO_HEADER_PATH = "../../../transfer/libapcp/include/cp/" \
                        "HostInfo.h"
APCP_POWER_HEADER_PATH = "../../../transfer/libapcp/include/cp/" \
                        "Power.h"
APCP_TRANSFER_HEADER_PATH = "../../../transfer/libapcp/include/ap/" \
                            "NetAPCP.h"
APCP_SIGNAL_HEADER_PATH = "../../../transfer/libapcp/include/ap/" \
                          "APCPSignalManager.h"
APCP_SIGNAL_CPP_PATH = "../../../transfer/libapcp/src/" \
                       "APCPSignalManager.cpp"
APCP_CONVERT_IPCP_PATH = "../../../transfer/libapcp/src/" \
                         "apcp_signal_2_ipcp.h"
APCP_CONVERT_FROM_IPCP_PATH = "../../../transfer/libapcp/src/" \
                              "apcp_ipcp_2_signal.h"
